package services

func ApiHook(from, key string, content string) int {
	switch from {
	case "feishu":
		return push_feishu_markdown(key, UNKONWN, content)
	case "weixin":
		return push_weixin_markdown(key, UNKONWN, content)
	default:
		return 0
	}
}
